package creation_patterns.abstruct_factory_pattern.concrete_factory;

import creation_patterns.abstruct_factory_pattern.abstract_product.OperationController;
import creation_patterns.abstruct_factory_pattern.abstract_product.UIController;
import creation_patterns.abstruct_factory_pattern.concrete_product.ios.iphone.IphoneIOSOperationController;
import creation_patterns.abstruct_factory_pattern.concrete_product.ios.iphone.IphoneUIController;
import creation_patterns.abstruct_factory_pattern.factory.IFactory;

public class IphoneISOFactory implements IFactory {
    @Override
    public OperationController getOperationControllerBean() {
        return new IphoneIOSOperationController();
    }

    @Override
    public UIController getUIControllerBean() {
        return new IphoneUIController();
    }
}
